Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing /
Chapter 3 - Page Formatting and Dialog Box Customization / Page Formatting and Dialog Box Customization Reference
Constants for Collection Item Categories and Tag IDs


Collection Item Categories

QuickDraw GX assigns collection object items to several collection item categories. QuickDraw GX tag categories are defined in the collection tag category enumeration, represented by gxCollectionCategory:

typedef short gxCollectionCategory;

enum {
   gxNoCollectionCategory        = (gxCollectionCategory) 0x0000,
   gxOutputDriverCategory        = (gxCollectionCategory) 0x0001,
   gxFormattingDriverCategory    = (gxCollectionCategory) 0x0002,
   gxDriverVolatileCategory      = (gxCollectionCategory) 0x0004,
   
   gxVolatileOutputDriverCategory = 
            gxOutputDriverCategory + gxDriverVolatileCategory,
   gxVolatileFormattingDriverCategory =
            gxFormattingDriverCategory + gxDriverVolatileCategory
};
Constant descriptions

gxNoCollectionCategory
The item persists whether or not a printer-driver switch occurs or the collection is flattened.
gxOutputDriverCategory
The item is affected by a change in the output printer driver.
gxFormattingDriverCategory
The item is affected by a change in the formatting printer driver.
gxDriverVolatileCategory
The item is affected by a change in either the output printer driver or formatting printer driver. The item is purged when the collection is flattened if the collectionPersistenceBit is also set.
gxVolatileOutputDriverCategory
The item is purged if the output printer driver changes.
gxVolatileFormattingDriverCategory
The item is purged if the formatting printer driver changes.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help